package kr.co.cherryt.data.unit;

// 광고 정보를 서버에서 읽어와서 저장
public class AdInfo {
	private String strTitle;
	private String strWriter;
	private String strImage;
	private String strPoint;
	private String strLink;
	private String strTime;
	private String strLoc;
	private String strAdCate;
	private String strSubCon;

	public AdInfo() {
		strTitle = new String();
		strWriter = new String();
		strImage = new String();
		strPoint = new String();
		strLink = new String();
		strTime = new String();
		strLoc = new String();
		strAdCate = new String();
		strSubCon = new String();
	}

	public void setTitle( String strTitle ) { this.strTitle = strTitle;	}
	public void setWriter( String strWriter ) { this.strWriter = strWriter;	}
	public void setImage( String strImage ) { this.strImage = strImage;	}
	public void setPoint( String strPoint ) { this.strPoint = strPoint;	}
	public void setLink( String strLink ) { this.strLink = strLink;	}
	public void setTime( String strTime ) { this.strTime = strTime;	}
	public void setLoc( String strLoc ) { this.strLoc = strLoc;	}
	public void setAdCate( String strAdCate ) { this.strAdCate = strAdCate;	}
	public void setSubCon( String strSubCon ) { this.strSubCon = strSubCon;	}

	public String getTitle() { return strTitle; }
	public String getWriter() { return strWriter; }
	public String getImage() { return strImage;}
	public String getPoint() { return strPoint;}
	public String getLink() { return strLink; }
	public String getTime() { return strTime; }
	public String getLoc() { return strLoc; }
	public String getAdCate() { return strAdCate; }
	public String getSubCon() { return strSubCon; }

	public void DeleteAll() { 
		strTitle = null;
		strWriter = null;
		strImage = null;
		strPoint = null;
		strLink = null;
		strTime = null;
		strLoc = null;
		strAdCate = null;
		strSubCon = null;
	}
}
